package com.sjzsqjy.asdtiang.search;

public class BloodResultFormat {
	///女的血流变量正常值
	public static double[][] normalList={{7.67,10.29},{4.54,5.77},{3.74,4.61},{1.20,1.73},{36.66,44.12},{0.00,20.00},
	{13.04,25.72},{6.59,13.04},{4.78,5.79},{0.00,120},{1.55,2.73},{3.51,5.87}
	,{0.55,0.96},{4.15,6.49},{4.00,7.90},{3.07,5.83},{2.38,4.71}};
	//男的血流正常值得
	public static double[][] normalList1={{7.00,9.50},{5.32,6.99},{4.33,5.64},{1.20,1.73},{42.52,48.44},{0.00,15.00},
	{13.41,22.53},{7.43,12.67},{4.93,8.36},{0.00,93},{1.75,2.99},{3.51,5.81}
	,{0.46,0.78},{4.59,6.17},{4.00,7.90},{3.07,5.83},{2.38,4.71}};
	public static String[][] itemList={{"全血粘度：低切(mPa.s)|20(1/s)"},
	{"全血粘度：中切(mPa.s)|20(1/s)"},
	{"全血粘度：高切(mPa.s)|20(1/s)"}
	,{"血浆粘度"},{"红细胞压积(%)"},{"血沉(MM/H)"},{"全血还原粘度(低切)"},
	{"全血还原粘度(中切)"},{"全血还原粘度(高切)"},
	{"血沉方程K值"},{"红细胞聚集指数"},{"红细胞刚性指数"},{"红细胞变性指数"}
	,{"红细胞电泳指数"},{"全血相对粘度(低切)"},{"全血相对粘度(中切)"},{"全血相对粘度(高切)"}};
	
	
	private String name;
	private String sendDate;
	private String testDate;
	private String doorNum;
	private String patientNum;
	private String sex;
	private String sendDoctor;
	private String testDoctor;
	private String hospitalNum;
	private String bedNum;
	private String age;
	private String keBie;
	private String sampleId;
	private String type;
	private String hight;
	private String low;
	public String getHight() {
		return hight;
	}
	public void setHight(String hight) {
		this.hight = hight;
	}
	public String getLow() {
		return low;
	}
	public void setLow(String low) {
		this.low = low;
	}
	String item;
	float value;
	String result;
	////为1时为男，为2时为女
	public void isNormal(int i,int sex){
		if(sex==2){
			if(normalList[i][0]>value){
				result="L";
			}
			if(normalList[i][1]<value){
				result="H";
			}
		}
		else{
			if(normalList1[i][0]>value){
				result="L";
			}
			if(normalList1[i][1]<value){
				result="H";
			}
		}
	}
	public static double[][] getNormalList() {
		return normalList;
	}
	public static void setNormalList(double[][] normalList) {
		BloodResultFormat.normalList = normalList;
	}
	public static double[][] getNormalList1() {
		return normalList1;
	}
	public static void setNormalList1(double[][] normalList1) {
		BloodResultFormat.normalList1 = normalList1;
	}
	public static String[][] getItemList() {
		return itemList;
	}
	public static void setItemList(String[][] itemList) {
		BloodResultFormat.itemList = itemList;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSendDate() {
		return sendDate;
	}
	public void setSendDate(String sendDate) {
		this.sendDate = sendDate;
	}
	public String getTestDate() {
		return testDate;
	}
	public void setTestDate(String testDate) {
		this.testDate = testDate;
	}
	public String getDoorNum() {
		return doorNum;
	}
	public void setDoorNum(String doorNum) {
		this.doorNum = doorNum;
	}
	public String getPatientNum() {
		return patientNum;
	}
	public void setPatientNum(String patientNum) {
		this.patientNum = patientNum;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getSendDoctor() {
		return sendDoctor;
	}
	public void setSendDoctor(String sendDoctor) {
		this.sendDoctor = sendDoctor;
	}
	public String getTestDoctor() {
		return testDoctor;
	}
	public void setTestDoctor(String testDoctor) {
		this.testDoctor = testDoctor;
	}
	public String getHospitalNum() {
		return hospitalNum;
	}
	public void setHospitalNum(String hospitalNum) {
		this.hospitalNum = hospitalNum;
	}
	public String getBedNum() {
		return bedNum;
	}
	public void setBedNum(String bedNum) {
		this.bedNum = bedNum;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public String getKeBie() {
		return keBie;
	}
	public void setKeBie(String keBie) {
		this.keBie = keBie;
	}
	public String getSampleId() {
		return sampleId;
	}
	public void setSampleId(String sampleId) {
		this.sampleId = sampleId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getItem() {
		return item;
	}
	public void setItem(String item) {
		this.item = item;
	}
	public float getValue() {
		return value;
	}
	public void setValue(float value) {
		this.value = value;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	
//	private void main(args){
//		println BloodResultFormat.normalList[0][0]
//	}
}